include $(top_srcdir)/common.mk

AM_CPPFLAGS += -I$(top_srcdir)/common  -I$(top_srcdir)/lib \
           -I$(top_srcdir)/api -I./

noinst_LTLIBRARIES=libsubcmd.la

libsubcmd_la_SOURCES = subcmd.controlqueue.c subcmd.controlhost.c subcmd.resource.c \
		       subcmd.jobs.c subcmd.print.c subcmd.signaljob.c subcmd.nodeinfo.c \
	 	       subcmd.admin.c subcmd.addgroup.c subcmd.modifygroup.c subcmd.jobdepend.c \
                       subcmd.jobs.c subcmd.group.c subcmd.submitjob.c subcmd.modifyjob.c subcmd.peekjob.c \
                       subcmd.queues.c subcmd.requeuejob.c subcmd.runjob.c subcmd.switchjob.c \
	 	       subcmd.users.c subcmd.removegroup.c subcmd.jobgroup.c subcmd.nodeload.c \
                       subcmd.hosts.c subcmd.migratejob.c subcmd.settings.c subcmd.postmessage.c \
                       subcmd.history.c subcmd.readmessage.c subcmd.movejob.c subcmd.startup.c \
		       subcmd.record.c subcmd.clusters.c subcmd.copyfile.c \
		       subcmd.admin.h subcmd.history.h subcmd.h  

include_HEADERS = subcmd.h subcmd.admin.h

libsubcmd_la_LDFLAGS = -no-undefined

